import {Route} from '@srcTypes/route';
import {createFolder, suiteUploadFile} from '@srcHandlers/docs/suite';
import {requestLogger} from '@srcMiddleware/request-logger';

export const suiteRoutes: Route[] = [
    {
        path: '/suite/v1/files/upload_all',
        method: 'post',
        middleware: [requestLogger],
        handler: suiteUploadFile,
    },
    {
        path: '/suite/v1/folder/:folderToken',
        method: 'post',
        middleware: [requestLogger],
        handler: createFolder,
    },
];
